#
# File 		: Makefile
# Author	: Golovchenko Aleksey
# Date:		: 2012/12/25
#

run: compile
	(./tb8b10b && (gtkwave tb8b10b.vcd) ) &

noise: compile_noise
	(./tb8b10b_noise && (gtkwave tb8b10b_noise.vcd) ) &

compile:
	iverilog encode.v decode.v tb_8b10b.v -o tb8b10b

compile_noise:
	iverilog encode.v decode.v tb_8b10b_noise.v -o tb8b10b_noise

clean:
	rm -f tb8b10b tb8b10b_noise *.vcd *.log

